home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc A) / Acorn User China CD-ROM (UK) (Disc A).bin / DEMON / MISC / INCORP12.ARC / !Incorp_!Help < prev    next >
Encoding:
Text File  |  1994-09-09  |  13.5 KB  |  300 lines

  1. !Incorp © 1994 Julian Wright
  2. ----------------------------
  3.  
  4. This application forms a part of my application !ReadNews. This application
  5. is subject to the following rules and conditions:
  6.  
  7. This version of !Incorp is NOT Public Domain, it is "Freeware". This means
  8. you may copy it freely, give it to your friends, upload it to BBSs etc as
  9. long as you meet all of the following conditions:
  10.  
  11.   ¤ You must copy the WHOLE program, and ALL it's data files including this
  12.     text file, in EXACTLY the condition you received it. The easiest
  13.     way to do this is to keep the original archive to pass around,
  14.     rather than copying your extracted copy.
  15.  
  16.   ¤ You must not charge any money for the use, storage or distribution of
  17.     !Incorp (except for a **SMALL** amount to cover disc copying costs ONLY).
  18.  
  19.   ¤ I do not accept any liability whatsoever for any loss or damage to data
  20.     that result from the use of !Incorp.
  21.  
  22.   ¤ No version of !Incorp may be included with any Commercial distribution
  23.     without my written permission.
  24.  
  25. Right, now that's out of the way...
  26.  
  27. Purpose
  28. -------
  29. Incorp takes batches of news and email from Rucp and incorporates them into
  30. the structure that Readnews uses.
  31.  
  32. MessageTrans Module
  33. -------------------
  34. Incorp uses the MessageTrans module, for internationalisation purposes. If
  35. you are still running under RISC OS 2 and do not have this module, Incorp
  36. can still function but some text messages, most notably the interactive
  37. help ones, will not be available. MessageTrans is freely available but only
  38. from officially sanctioned sources, so I cannot provide it with Incorp. You
  39. may already have it though, as some Third-Party applications come with it.
  40.  
  41. Inside the !Incorp.!Run file, near the top, there are two lines which deal
  42. with loading MessageTrans if it is needed. If you have RISC OS 2 and have
  43. MessageTrans in your !System.Modules folder you should uncomment these
  44. lines to ensure it gets loaded.
  45.  
  46. RISC OS 3.00 users and higher need not worry about any of this - for you the
  47. module is already in your rom.
  48.  
  49. Setting up Incorp
  50. -----------------
  51. Open the Config window from the iconbar menu and set the options inside to
  52. your personal preferences, as described below in the section 'Config Window'.
  53. If you are using ReadNews and Incorp with Rucp, you will not need to change
  54. the ToIncorp file. But if you are using some other transport mechanism, you
  55. will need to edit this file. If so, click on the Edit ToIncorp File icon
  56. in the Config window.
  57.  
  58. The ToIncorp File
  59. -----------------
  60. This file contains a list of places for Incorp to look when searching for new
  61. news and email to incorporate. Each 'place' is specified on a separate line
  62. in the file. Blank lines and lines starting with #'s are ignored. The format
  63. of a 'place to look' line is as follows:
  64.  
  65. [NEWS|MAIL|DOTMAIL] <Pathname> [<Newsgroup>]
  66.  
  67. The first parameter specifies whether the item pointed to contains email or
  68. news. If DOTMAIL is chosen then this indicates that the item contains email
  69. for which all lines beginning with ".." should have the first "." removed.
  70.  
  71. The second parameter is a pathname pointing either to a batch file or a
  72. directory. If it points to a directory, then all files in the directory
  73. will be incorporated.
  74.  
  75. The third parameter is optional, and specifies a newsgroup or email mailbox
  76. which overrides whatever destination might be found in the individual
  77. articles. If absent from a NEWS line, then the destination of each article
  78. in the batch(es) specified will be determined from the "Newsgroups:" line
  79. in the header of each article extracted, otherwise all articles in the
  80. batch(es) will be placed in the specified newsgroup.
  81.  
  82. If it is absent from a MAIL or DOTMAIL line, the destination of each
  83. article is determined from the filename of the batch, otherwise the
  84. specified destination is used.
  85.  
  86. Some examples may help...
  87.  
  88. NEWS <Rucp$Dir>.uucp.News
  89.   This causes all files in <Rucp$Dir>.uucp.News to be incorporated as news
  90.   batches, with individual destinations read from the Newsgroups: lines
  91.   in each article.
  92.  
  93. NEWS <Captured$Dir>.Download comp.sys.acorn
  94.   This causes the file <Captured$Dir>.Download to be incorporated as a
  95.   news batch, with all articles being placed in comp.sys.acorn regardless
  96.   of their Newsgroups: line. This might be used if you have some news
  97.   you have captured in a terminal package or which may not have a
  98.   Newsgroups: line in its header, if it even has a header.
  99.  
  100. MAIL <Rucp$Dir>.uucp.Mail
  101.   This causes all files in the <Rucp$Dir>.uucp.Mail directory to be
  102.   incorporated as mail batches, with the destination of each email being
  103.   determined from the name of the file which contains that email. 
  104.  
  105. To use Incorp
  106. -------------
  107. Load !Incorp, and click on it's icon on the icon bar to start the
  108. incorporation process. This multitasks fully, where possible, unlike earlier
  109. versions. If the Verbose option is configured, then while Incorp is
  110. incorporating articles it's status window will be open, looking much like a
  111. RISC OS 3 filer_action window... :-)
  112.  
  113. There are two buttons on the status window while Incorp is incorporating,
  114. "Abort" and "Pause". The Abort button will halt Incorp in it's tracks. The
  115. Pause button will pause Incorp, and change into a "Continue" icon. Clicking
  116. on Continue will make Incorp carry on from where you last paused it.
  117.  
  118. When Incorp has finished processing, it removes the Abort and Pause buttons
  119. and replaces them with a single "OK" button, which simply closes the status
  120. window when you click on it. It then opens the Just Arrived window, if it was
  121. not already open, or updates it if it was.
  122.  
  123. If Incorp tries to add an article to a 'full' newsgroup (ie one whose
  124. directory is filled to capacity already) then it will do one of two things
  125. depending on how it is configured. Either:
  126.   a) Delete the oldest article in the group and continue
  127. or
  128.   b) Pause, with two extra options visible in the status window:
  129.        Delete - Delete oldest article and continue
  130.         Quiet - Delete all further articles as necessary
  131.  
  132. At this point you also have the option of reading some of the articles
  133. with ReadNews, and deleting them there, after which point you can click
  134. on Continue to get Incorp to try again without deleting any articles of
  135. it's own.
  136.  
  137. Menus
  138. -----
  139. There are two - the iconbar menu and the Incorp menu, which can be accessed
  140. from the incorp status window. The Iconbar menu has the following options:
  141.  
  142.          Info: The usual info box.
  143.        Config: Leads to or opens the configuration window.
  144.          Quit: Hmm. I wonder what'll happen if I press this red butt...
  145.  
  146. The Incorp menu has the following options:
  147.  
  148.        Faster:  Speed up the process of incorporation at the expense of fast
  149.                 multitasking.
  150.        Pause:   Cause Incorp to pause when it reaches a full newsgroup.
  151.        Verbose: When unticked the status window will close; incorporation
  152.                 will continue.
  153.  
  154. Config Window
  155. -------------
  156. This window can be accessed from the iconbar menu. It has the following
  157. options:
  158.   Fast processing:
  159.     If selected this causes articles to be scanned faster, at the expense of
  160.     multitasking speed.
  161.   Delete old articles:
  162.     If selected then when a full newsgroup is encountered Incorp will delete
  163.     the oldest article in that group immediately (as it did in earlier
  164.     versions of the software). If unselected then Incorp will pause when it
  165.     encounters a full newsgroup, and give you a chance to deal with the
  166.     situation yourself.
  167.   Verbose Status:
  168.     If selected then the status window will pop up automatically when you
  169.     start an incorporation. If not, incorporation will commence silently.
  170.     You can still pop up the status window at any stage during incorporation
  171.     by clicking on the iconbar icon though.
  172.   Autoclose Status:
  173.     If selected then whenever you close the Just Arrived window by clicking
  174.     ADJUST on one of the icons, the Status window will be automatically
  175.     closed as well.
  176.   Autoclose Arrived:
  177.     If selected then whenever you close the Status window by clicking on the
  178.     OK icon, the Just Arrived window will be automatically closed as well.
  179.   Open Arrived Early:
  180.     If selected then the Just Arrived window will be opened when the *first*
  181.     new article is incorporated and will be continuously updated, otherwise
  182.     it will behave as before and not open until the *last* article has been
  183.     incorporated.
  184.   Shrink partially processed batches:
  185.     If selected then any articles which have been successfully incorporated
  186.     from the current batch will be removed from it if you abort
  187.     incorporation with the Abort button.
  188.  
  189. The bottom section deals with the timer. Incorp can be set to start itself
  190. up every so often, and this section controls how often. (Or indeed if it
  191. happens at all). Note that regardless of the state of the Verbose option,
  192. a timer-initiated incorporation will not pop up the status window.
  193.  
  194. Just Arrived Window
  195. -------------------
  196. This window is opened whenever one or more of the following is detected:
  197.   - New news has just been incorporated
  198.   - New Email has just been incorporated
  199.   - There are new files in the UUCP Public directory
  200.  
  201. It contains up to three icons, depending on which combination of the above
  202. has been detected. Each icon has a counter underneath it, which represents
  203. the number of new postings, emails and files which have been received,
  204. respectively.
  205.  
  206. Clicking on either the news or email icons will cause ReadNews to load,
  207. while clicking on the file icon will open the public directory. Incorp
  208. will continue to register new files until you move or remove the files
  209. from the public directory.
  210.  
  211. Clicking with adjust will also close the Just Arrived window. Once the
  212. Just Arrived window has been closed, it's counters are reset and it will
  213. not be re-opened until there is more new stuff...
  214.  
  215. Version History
  216. ---------------
  217. <1.00 - Command line version of program, didn't multitask.
  218.  
  219.  1.00 - First multitasking version of Incorp (except for email) (1/5/92)
  220.  
  221.  1.01 - Email incorporation now multitasks (5/5/92)
  222.  
  223.  1.02 - Improved Faster mode - now it works even faster, and still keeps
  224.           the byte count updated properly.
  225.         Fixed problem with base creation causing an extra 'phantom' message
  226.           to be seen by the Newsreader. (10/5/92)
  227.  
  228.  1.03 - Added option to not scan for either news or email (25/5/92)
  229.  
  230.  1.04 - Fixed major bug... Incorp was locking up whenever an error occurred!
  231.           This didn't really bother me before, as errors are rare in my own
  232.           code 8^) But it was getting to be a bit of a pain, so the error
  233.           routine works now.
  234.         Incorp now handles news batches that aren't batches. That is, if
  235.           there is no '#! rnews' at the start Incorp assumes the whole file
  236.           is one article.
  237.         Re-worked the internals to make them neater. Implementing a pause
  238.           function when a newsgroup fills to capacity should be easy now.
  239.           Haven't tested the new code exhaustively though. (8/6/92)
  240.  
  241.  1.05 - Added configure window.
  242.         Amended library and application to make use of more RISC OS 3
  243.           facilities where available.
  244.         Incorp now pauses (if configured) when attempting to write to a
  245.           full newsgroup, rather than just deleting the oldest article.
  246.         New options while so paused: Delete and Quiet.
  247.         Wrote routine to remove leading "."s from the start of lines in
  248.           incoming Email messages, but commented it out as it doesn't
  249.           work yet.
  250.  
  251.  1.06 - Internationalised using MsgTrans.
  252.         Configuration options no longer have instant effect... they are
  253.           only noticed when Ok or Save buttons are clicked on.
  254.         Config window templates redesigned to place Save and Ok buttons on
  255.           a pane attached to the bottom right of the window.
  256.         Interactive help added.
  257.  
  258.  1.07 - Now renames batches currently being worked on in order to prevent
  259.           a simultaneous UUIO task from eg, adding new articles to an Email
  260.           file which Incorp is currently processing in RAM. Incorp would have
  261.           then simply deleted the email file and the new email would have
  262.           been lost.
  263.         Thanks to a routine supplied by Philip Banks, new newsgroups are no
  264.           longer generated for cross-posted articles when an existing group
  265.           would have sufficed.
  266.         Incorp no longer says it is "Incorping" when there are no articles to
  267.           incorp :-)
  268.         Control message "newgroup" now causes group creation without any
  269.           article appearing.
  270.  
  271.  1.08 - Added animation on icon bar for during incorporation.
  272.         Added verbosity configuration option.
  273.  
  274.  1.09 - Fixed little bug introduced in 1.07 with renaming of batches whose
  275.           filenames were already 10 characters long. I didn't notice it
  276.           myself cos I have RISC OS 3 with Truncate configured. Oops!
  277.  
  278.  1.10 - Added more AA fonts to RISC OS 3 templates.
  279.  
  280.  1.11 - Fixed little bug with creation of new groups where existing ones
  281.           would have sufficed with cross-posted articles.
  282.         Changed templates to work fine with RISC OS 3.10
  283.  
  284.  1.12 - ADJUST click on Just Arrived window closes it.
  285.         Incorp now scans for email before news.
  286.  
  287.  1.13 - When a header line is 256 characters long Incorp no longer ignores
  288.           the rest of the header (which used to cause amongst other things
  289.           valid articles to show up in junk)
  290.  
  291.  1.14 - Options for autoclosing of Status and New Arrivals windows when the
  292.           other is closed, added to the configuration.
  293.  
  294.  1.15 - Full newsgroup now only causes the Status window to pop to the front
  295.           once per incorp session. Handling of Just Arrived window tidied up
  296.           as well.
  297.  
  298.  1.20 - Major overhaul to the incorporation engine. Added Shrink processed
  299.           articles option. 
  300.